<template>
    <div class="space">
        <el-descriptions class="margin-top" :column="3" border>
            <el-descriptions-item>
                <template #label>
                    <div class="cell-item">
                        高度
                    </div>
                </template>
                <el-input v-model="main.height" type="Number" placeholder="请输入" />
            </el-descriptions-item>
        </el-descriptions>
    </div>
</template>

<script setup name="SpaceEdit">
const props = defineProps({
    info: {
        required: true,
        default: {
        }
    },
});

const data = reactive({
    main: {
    }
})
const { main } = toRefs(data)
onMounted(() => {
    data.main = props.info
})

</script>
<style lang="scss" scoped>
.cell {
    display: flex;
}
</style>
